<html>
<head>
    <script src="resources/text-based-repaint.js"></script>
    <script>
        function repaintTest()
        {
            document.getElementById("block").style.height = "100px";
            document.getElementById("inline").innerText = "is invisible";
        }
    </script>
</head>
<body onload="runRepaintAndPixelTest()">
    <div style="visibility: hidden; position: relative;">
        <span id="inline">Invisible text</span>
    </div>
    <div style="visibility: hidden; position: relative;">
        <div id="block" style="height: 50px;"></div>
    </div>
</body>
</html>
